#ifndef SVMCOMMONH
#define SVMCOMMONH

typedef enum _kernel_type {
	GAUSSIAN = 0,
	LINEAR,
	POLYNOMIAL,
	SIGMOID
} KernelType;

const static char* kernelTypeString[4]={"linear","polynomial","rbf","sigmoid"};

typedef struct _kernel_params{
	float gamma;
	float coef0;
	float degree;
	float b;
	KernelType kType;
} KernelParams;

enum SelectionHeuristic {FIRSTORDER, SECONDORDER, RANDOM, ADAPTIVE};

#endif
